<%--
  Created by IntelliJ IDEA.
  User: libing
  Date: 2016/7/23
  Time: 12:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@taglib uri="http://www.rapid-framework.org.cn/rapid" prefix="rapid" %>
<%@taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <rapid:override name="head">
        <meta charset="UTF-8">
        <title>后台管理</title>
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/common.css"/>
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/main.css"/>
        <script type="text/javascript" src="${pageContext.request.contextPath }/js/libs/modernizr.min.js"></script>
    </rapid:override>

</head>
<body>
<%--<rapid:override name="top">
这里如果不想改变父页面的内容的话，就不要写出来了，否则会认为你重写了父页面的这个top
</rapid:override>--%>

<div class="container clearfix">
    <rapid:override name="left">
        <div class="sidebar-wrap">
            <div class="sidebar-title">
                <h1>菜单</h1>
            </div>
            <div class="sidebar-content">
                <ul class="sidebar-list">
                    <li>
                        <a href="#"><i class="icon-font">&#xe003;</i>常用操作</a>
                        <ul class="sub-menu">
                            <li><a href="${pageContext.request.contextPath }/html/administer.html"><i class="icon-font">&#xe008;</i>分类管理</a></li>
                            <li><a href="${pageContext.request.contextPath }/html/administer.html"><i class="icon-font">&#xe005;</i>公告发布</a></li>
                            <li><a href="${pageContext.request.contextPath }/html/administer.html"><i class="icon-font">&#xe006;</i>订单查询</a></li>
                        </ul>
                    </li>

                </ul>
            </div>
        </div>
    </rapid:override>
    <!--/sidebar-->

    <rapid:override name="main_wrap">
        <div class="main-wrap">

            <div class="crumb-wrap">
                <div class="crumb-list"><i class="icon-font"></i><a href="">首页</a><span class="crumb-step">&gt;</span><a class="crumb-name" href="">公告发布</a><span class="crumb-step">&gt;</span><span>新增公告</span></div>
            </div>
            <div class="result-wrap">
                <div class="result-content">
                    <form action="/jscss/admin/design/add" method="post" id="myform" name="myform" enctype="multipart/form-data">
                        <table class="insert-tab" width="100%">
                            <tbody><tr>
                                <th width="120"><i class="require-red">*</i>分类：</th>
                                <td>
                                    <select name="colId" id="catid" class="required">
                                        <option value="18">请选择</option>
                                        <option value="19">运动健身</option>
                                        <option value="20">旅游</option>
                                        <option value="21">文学艺术</option>
                                        <option value="22">演讲</option>
                                        <option value="23">经济</option>
                                        <option value="24">电影</option>
                                        <option value="25">科技</option>
                                        <option value="26">美食</option>
                                    </select>
                                </td>
                            </tr>
                            <tr>
                                <th><i class="require-red">*</i>标题：</th>
                                <td>
                                    <input class="common-text required" id="title" name="title" size="50" value="" type="text">
                                </td>
                            </tr>
                            <tr>
                                <th><i class="require-red">*</i>图片：</th>
                                <td><input name="smallimg" id="smallimg" type="file"><!--<input type="submit" onclick="submitForm('/jscss/admin/design/upload')" value="上传图片"/>--></td>
                            </tr>
                            <tr>
                                <th><i class="require-red">*</i>视频：</th>
                                <td><input name="vedio" id="vedio" type="file"><!--<input type="submit" onclick="submitForm('/jscss/admin/design/upload')" value="上传视频"/>--></td>
                            </tr>
                            <tr>
                                <th>课程介绍：</th>
                                <td><textarea name="content" class="common-textarea" id="content" cols="30" style="width: 98%;" rows="10"></textarea></td>
                            </tr>
                            <tr>
                                <th></th>
                                <td>
                                    <input class="btn btn-primary btn6 mr10" value="发布" type="submit">
                                    <input class="btn btn6" onclick="history.go(-1)" value="返回" type="button">
                                </td>
                            </tr>
                            </tbody></table>
                    </form>
                </div>
            </div>

        </div>
        <!--/main-->
    </rapid:override>
</div>

</body>
</html>
<%@include file="../common/templateJSP.jsp"%>
